﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<WEBDT.ViewModel.LoaiSPModel>" %>


<link href="../../../../Content/style.css" />

<form id="form" enctype="multipart/form-data" method="post">
    <fieldset id="LoaiSP">
        <input id="maloai" name="maloai" type="hidden" value="<%=Model.MaLoai%>" />
        <div class="elem">
            <label for="tenloai">Ten Loai</label>
            <input id="tenloai" name="tenloai" type="text" value="<%=Model.TenLoai%>" />
        </div>
        <div class="elem">
            <label>Mã Nhóm </label>
            <%=Html.DropDownList("MaNhom",(IEnumerable<SelectListItem>) ViewData["NhomSP"]) %> 
        </div>
         
        <button type="submit">Save</button>
        <button type="reset">Reset</button>
    </fieldset>
</form>
